import axios from 'axios';

const setHeader = () => {
    let defaultHeaders = axios.defaults.headers.common;
    let addHeaders = {
        "token": localStorage.getItem('token'),
    };
    return {
        ...defaultHeaders,
        ...addHeaders,
    };
};

export default setHeader;